Repository navigation
fix(agent-setup): migrar diretório legado de wiki/wiki-mem e adicionar CI E2E - #17
Merged
gaabdotdev merged 1 commit intoOct 23, 2026
Conversation
A copied wiki/wiki-mem directory is relocated to ~/.agent-setup/backups and replaced by a symlink; the next install stays idempotent. Add a CI workflow for npm test, bench, pytest, and validate, and document that Graphify stays off, Ollama is optional (BM25 fallback), and vendor cache remains NOT_MEASURED. Co-authored-by: Gaab <GaabDevWeb@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Por quê
agent install --profile standardrespondiaCONFLICT skill:wiki/skill:wiki-memquando~/.cursor/skills/wiki(ouwiki-mem) já existia como diretório copiado por uma instalação antiga. A documentação pediarm -rf. Isso apaga dados do usuário e impede a instalação idempotente.O freeze v2.1 também não tinha workflow de CI rodando a suíte que a verificação local já considera verde:
npm test,npm run test:bench, pytest doagent-setupevalidate-v22-artifacts.sh.O que muda
~/.agent-setup/backups/<timestamp>/(method: movenomanifest.json) e substituído pelo symlink. Não hárm/rmtreedesse legado.already configurede não move o backup de novo.--forcesobre um diretório também move, em vez de apagar.CONFLICTe deixa o original no lugar..github/workflows/ci.yml(PR e push emrelease/**ecursor/**), sem segredos e comcontents: read.Decisões de runtime no CI
EVOLVELOOP_GRAPHIFYnão é definida (ADR-0014).degraded/ollama_unavailable, ADR-0005). O ganho B1 vs B0 (held-out teste 5/6 vs 4/6, dev 9/12 vs 7/12, scorerv22-anchor-scorer-1.0.0+ tiktoken) só existe na corrida oficial com Ollamanomic-embed-text.NOT_MEASURED— sem API keys (GOAL-010).Testes
agent-setup/tests/test_install_legacy_conflict.pyreproduz o diretório legado, exige o move (o marcador não permanece no destino nem entra no checkout) e rodainstall(profile="standard")duas vezes.Riscos
move, o diretório já está no backup e o destino fica ausente. O conteúdo não é apagado; a restauração é manual a partir de~/.agent-setup/backups/.skill-link:*passa a aparecer no relatório de install (antes oalso_linkera silencioso).